package com.dai.zhenfujin.issue.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.dai.zhenfujin.R;

/**
 * 没有规定的发布都是这个页面
 */
public class IssueProductActivtiy extends AppCompatActivity {

    private EditText mIssue_new_et_product_name;
    private ImageView mIssue_new_iv_product_picture;
    private EditText mIssue_new_et_price;
    private EditText mIssue_new_et_tvproduct_presentation;

    private TextView tvTitle;
    private ImageView imageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_issue_product_activtiy);



        mIssue_new_et_product_name = (EditText) findViewById(R.id.issue_new_et_product_name);
        mIssue_new_iv_product_picture = (ImageView) findViewById(R.id.issue_new_iv_product_picture);
        mIssue_new_et_price = (EditText) findViewById(R.id.issue_new_et_price);
        mIssue_new_et_tvproduct_presentation = (EditText) findViewById(R.id.issue_new_et_tvproduct_presentation);


        tvTitle = findViewById(R.id.title_textview);
        tvTitle.setText("发布产品");
        imageView = findViewById(R.id.title_imageview);
        imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
